
import roll from './roll'

const install = function (Vue) {
  Vue.directive('roll', roll);
}

if (window.Vue) {
  window.roll = roll
  Vue.use(install); // eslint-disable-line
}

roll.install = install
export default roll